package com.qf.boot1.controller;

import com.qf.boot1.annotation.NullAnnotation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 刘欣
 * @createTime 2023/1/31 10:01
 * @description
 */
@RestController
@RequestMapping("/test")
public class TestController {
    @RequestMapping("/test1")
    public String test1() {

        return "hello springboot";
    }

    @RequestMapping("/test2")
    @NullAnnotation
    public String test2(String s1, String s2) {
        return "test2";
    }
}
